#ifndef SCREENCAPSAVER_H
#define SCREENCAPSAVER_H

#pragma once
#include <QObject>
#include <QDebug>
#include <QString>
#include <QFileInfo>
#include <QStorageInfo>
#include <QTimer>
#include <QDesktopServices>
#include <QUrl>
#include <QProcess>

#include "utils/systemnotification.h"
#include "global/global.h"

class ScreencapSaver : public QObject
{
    Q_OBJECT
public:
    explicit ScreencapSaver(QObject *parent = nullptr);

    bool diskSpaceDetection(QString savePath, bool &diskSpaceLow, bool &fileExist);                  //磁盘空间检测
    bool saveInfoNotification(QString completePath, bool diskSpaceLow);             //保存等信息提示 返回值-是否保存成功
    void completionAction(SaveAction completionAction, QString completeSavePath);   //录制完成后执行的动作
    void sendMessage(QString text);
signals:

};

#endif // SCREENCAPSAVER_H
